package com.css.fxfzdpzs.modules.xczh.entity.first;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 地震灾损信息
 */
@Data
public class DisasterDamageData {
    //主键
    private String id;
    //发生时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date occurrenceTime;
    //经度
    private BigDecimal longitude;
    //纬度
    private BigDecimal latitude;
    //省
    private String province;
    //市
    private String city;
    //区
    private String county;
    //震级
    private BigDecimal magnitude;
    //损失值
    private BigDecimal lossValue;
    //房屋损失值
    private BigDecimal houseLoss;
    //房屋装修损失值
    private BigDecimal renovationLoss;
    //室内外财产损失值
    private BigDecimal roomLoss;
    //生命线系统损失值
    private BigDecimal lifelineLoss;
    //企事业损失值
    private BigDecimal enterprisesLoss;
    //救灾投入费用损失值
    private BigDecimal disasterLoss;
    //区县编码
    private String countyCode;
    //空间字段
    private String geom;
}
